package com.thor.palmmall.api.pay.alipay;

/**
 * 配置公共参数
 * 
 * @author Niu Li
 * @date 2016/10/29
 */
public class AliPayConfig {
  /**
   * 应用号
   */
  private String appId;
  /**
   * 商户的私钥
   */
  private String appPrivateKey;
  /**
   * 编码
   */
  private String CHARSET = "UTF-8";
  /**
   * 支付宝公钥
   */
  private String alipayPublicKey;
  /**
   * 支付宝网关地址
   */
  private String gateWay;
  /**
   * 成功付款回调
   */
  private String payNotify;

  public static final String SUCCESS_REQUEST = "TRADE_SUCCESS";
  public static final String TRADE_CLOSED = "TRADE_CLOSED";
  /**
   * 支付成功回调
   */
  // public String REFUND_NOTIFY =
  // "http://niuli.tunnel.qydev.com/notify/alipay_refund";
  /**
   * 前台通知地址
   */
  // public String RETURN_URL =
  // "http://niuli.tunnel.qydev.com/notify/alipay_pay";
  /**
   * 参数类型
   */
  private String PARAM_TYPE = "json";

  /**
   * 收款方账号
   */
  private String sellerId;
  /**
   * 签名方式
   */
  private String signType;

  public String getAppId() {
    return appId;
  }

  public void setAppId(String appId) {
    this.appId = appId;
  }

  public String getAppPrivateKey() {
    return appPrivateKey;
  }

  public void setAppPrivateKey(String appPrivateKey) {
    this.appPrivateKey = appPrivateKey;
  }

  public String getCHARSET() {
    return CHARSET;
  }

  public void setCHARSET(String cHARSET) {
    CHARSET = cHARSET;
  }

  public String getGateWay() {
    return gateWay;
  }

  public void setGateWay(String gateWay) {
    this.gateWay = gateWay;
  }

  public String getPayNotify() {
    return payNotify;
  }

  public void setPayNotify(String payNotify) {
    this.payNotify = payNotify;
  }

  public String getPARAM_TYPE() {
    return PARAM_TYPE;
  }

  public void setPARAM_TYPE(String pARAM_TYPE) {
    PARAM_TYPE = pARAM_TYPE;
  }

  public String getSellerId() {
    return sellerId;
  }

  public void setSellerId(String sellerId) {
    this.sellerId = sellerId;
  }

  public String getAlipayPublicKey() {
    return alipayPublicKey;
  }

  public void setAlipayPublicKey(String alipayPublicKey) {
    this.alipayPublicKey = alipayPublicKey;
  }

  public String getSignType() {
    return signType;
  }

  public void setSignType(String signType) {
    this.signType = signType;
  }

}
